package com.travel.Bean;

import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.sql.Date;

@Data
@Entity(name = "Comment_1")
/**/
public class Comment_1 {
    @Id
    @org.springframework.data.annotation.Id
    /*攻略的评论id是通过攻略的id加上攻略的评论条数来确定的
    * 攻略id_攻略评论数+1（就是该评论是该攻略的第几条评论）*/
    private String id;
    private String Comment_content;     //内容
    private Date releaseTime;     //发布时间
    private String  Comment_up;        //点赞
//    private Integer  Comment_comment;       //评论
    private String Comment_reply;      //回复数量
    private String user_id;     //用户id
    private String Comment_id;        //回复的评论的Id

}
